package com.gy.api.mobile.msg.dao;

import com.gy.api.mobile.msg.domain.po.UserMessagesPO;
import com.gy.api.mobile.msg.domain.vo.MessageResDto;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface UserMessagesDao extends Mapper<UserMessagesPO> {
    List<MessageResDto> getList(@Param("userId")String userId);
}